
# base image

FROM centos:7.5.1804

MAINTAINER ystlong@163.com

RUN find /etc/yum.repos.d -type f -exec sed -i 's|mirrorlist|#mirrorlist|g' {} \;
RUN find /etc/yum.repos.d -type f -exec sed -i 's|mirror.centos.org|mirrors.ustc.edu.cn|g' {} \;
RUN find /etc/yum.repos.d -type f -exec sed -i 's|#baseurl|baseurl|g' {} \;
RUN yum install -y epel-release
RUN yum groupinstall -y xfce
RUN yum install -y net-tools
RUN yum install -y tigervnc-server
RUN yum install -y dejavu*fonts
RUN yum install -y wqy*fonts
RUN yum install -y xterm
RUN yum install -y redhat-lsb.x86_64 redhat-lsb.i686
RUN yum install -y libXScrnSaver libXScrnSaver.i686
RUN useradd  water
RUN dbus-uuidgen >/etc/machine-id

WORKDIR /root

